﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_articlekind.aspx.cs" Inherits="Web.admin_articlekind" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="css/CodeProject.css" rel="stylesheet" type="text/css" />
    <link href="css/Page.css" rel="stylesheet" type="text/css" />
      <style type="text/css">
    .classTreeList{ padding-top:10px; padding-bottom:10px;}
    .classTreeList ul{ margin:0px;width:95%; list-style-type:none;}
    .classTreeList li{padding:2px;}  
    </style>    
    
    <script type="text/javascript" src="../js/jquery.js"></script>   
    
    <script  type="text/javascript">
        function LabelClassDisplay(objID, objli) {

            if ("none" == document.getElementById(objID).style.display) {

                document.getElementById(objli).getElementsByTagName("img")[0].src = "../images/bg_spread.gif";
                document.getElementById(objID).style.display = "block";
            }
            else {
                document.getElementById(objli).getElementsByTagName("img")[0].src = "../images/bg_shrink.gif";
                document.getElementById(objID).style.display = "none";
            }
        }
    </script>     
     
    <script type="text/javascript">
        $(document).ready(init);
        function init() {

        }
        
        function doDel(id) {
    	   
	        $.ajax({
		        type: "POST",
		        url: "admin_articlekind_delete.aspx",
		        dataType: "html",
		        data: "id=" + id,
		        timeout: 30000,
		        success: function(data){
	                alert("删除成功!");
	                window.location.reload();
		        },
		        error: function(xmlHttpRequest, error) {
        								
		        }
        					
	        });
    	        
	    }
        
    </script>  
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <table style="border:1px solid #000000;margin-top:10px" border="0" cellpadding="0" cellspacing="0" width="98%">
            <tr>
                <td colspan="4" class="TitleBar" colspan="left" align="center">
                    文章分类管理
                </td>
            </tr>          
            <tr>
             <td class="Pager" colspan="4" align="left">
                  <asp:Panel ID="pnlSuperClass" runat="server"  CssClass="classTreeList">
                  </asp:Panel>         
             </td>  
            </tr>  
                                      
        </table>
    </div>
    </form>
</body>
</html>
